package http_servicer



const newPondPage = `
<h1>3.1.1   添加塘口 </h1>
<form method="post" action="/newpond">
    
    <label for="pond_name      ">  pond_name       </label>   <input type="text" id="pond_name      " name="pond_name">
    <label for="area           ">  area            </label>   <input type="text" id="area"            name="area">
    <label for="height         ">  height          </label>   <input type="text" id="height         " name="height">
    <label for="prod           ">  prod            </label>   <input type="text" id="prod"            name="prod">
    <label for="density        ">  density         </label>   <input type="text" id="density        " name="density">
    <label for="source         ">  source          </label>   <input type="text" id="source         " name="source">
    <label for="earth_thickness">  earth_thickness </label>   <input type="text" id="earth_thickness" name="earth_thickness">


    <button type="submit"> 添加 </button>
</form>
</p>
<hr>
`

const fetchpondPage = `
<h1>3.1.2   获取塘口列表 </h1>
<form method="post" action="/fetchpond">
    <button type="submit">Show</button>
</form>
</p>
<hr>
`


const revokepondPage = `
<h1>3.1.4   删除塘口  </h1>
并不是真正“删除”塘口，而是将该塘口的用户ID清空，这样，这个塘口就不属于任何一个用户，也就是任何用户都无法访问此塘口。
<form method="post" action="/revokepond">

    <label for="name">pond_id        </label> <input type="text"  id="pond_id"              name="pond_id">           </p>
    <button type="submit">Revoke </button>
</form>
</p>
<hr>
`


const modifypondPage = `

<h1>3.1.3   修改塘口基础数据 </h1>

修改塘口基础信息。 
注：本接口不修改塘口业务数据，如温度，PH值等

<form method="post" action="/modifypond">

    <label for="name">pond_id        </label> <input type="text"  id="pond_id"              name="pond_id">           </p>
    <label for="name">Pond_name      </label> <input type="text"  id="Pond_name"            name="pond_name">           </p>
    <label for="name">area           </label> <input type="text"  id="area"                 name="area">             </p>
    <label for="name">height         </label> <input type="text"  id="height"               name="height">           </p>
    <label for="name">prod           </label> <input type="text"  id="prod"                 name="prod">             </p>
    <label for="name">density        </label> <input type="text"  id="density"              name="density">           </p>
    <label for="name">source         </label> <input type="text"  id="source"               name="source">           </p>
    <label for="name">earth_thickness</label> <input type="text"  id="earth_thickness"      name="earth_thickness">  </p>
    <button type="submit">Modify</button>
</form>
</p>
<hr>
`